Skip to content

Incorrect lifetimes in impl Trait types in bindings are not currently supported error in latest nightly #69238

@olegnn

Description

@olegnn

rustc 1.43.0-nightly (5e7af46 2020-02-16)

futures-rs tests (https://travis-ci.com/rust-lang/futures-rs/jobs/288109824#L1073) now fail on nightly with

error: lifetimes in impl Trait types in bindings are not currently supported
  --> src/compat/compat01as03.rs:390:13
   |
12 | let reader: impl tokio_io::AsyncRead = std::io::Cursor::new(input);
   |             ^^^^^^^^^^^^^^^^^^^^^^^^

However it worked before and there's no lifetimes in binding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lifetimesArea: Lifetimes / regionsC-bugCategory: This is a bug.F-impl_trait_in_bindings`#![feature(impl_trait_in_bindings)]`requires-nightlyThis issue requires a nightly compiler in some way.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions